#!/bin/bash

# 遍历当前目录下所有 .tar.gz 文件
for file in export/*.tar.gz; do
    # 确保文件存在
    if [ -f "$file" ]; then
        echo "Loading Docker image from $file ..."
        docker load -i "$file"
        echo "✅ Loaded: $file"
    fi
done

echo "🎉 All images loaded successfully!"

